Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Nov 26, 2024

As it turns out, not specifying --strict to the conformance test runner will cause --strict_message and --strict_error to do nothing. The conformance runner will just silently treat any validation errors as matching. Yikes.

Thankfully, protovalidate-java only had a few issues hidden by this footgun, and they are easily rectified after a bit of debugging.

Most of these issues are really quite minor and mainly just have to do with consistency across languages, but notably we were not marking validation errors from map keys properly, so that will be worth rolling into a release as soon as possible.

@ghost ghost requested a review from pkwarren November 26, 2024 11:22
@ghost ghost merged commit 54ba1f7 into main Nov 26, 2024
3 checks passed
@ghost ghost deleted the jchadwick/strict-conformance-fixes branch November 26, 2024 20:32
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant